a = int(input('请输入你要存的金额：'))
b = int(input('请输入目标金额：'))
count=0
while(1):
    if a >= b:
        break
    else:
        count+=1
        a = a * 0.05 + a
        print(a)
print(count)